//
//  ICLcblayoutButton.h
//  ICome
//
//  Created by Administrator on 2017/4/12.
//  Copyright © 2017年 iCom. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger , LCBRelayoutButtonType){
    LCBRelayoutButtonTypeNomal = 0,         //默认
    LCBRelayoutButtonTypeLeft  = 1,         //标题在左
    LCBRelayoutButtonTypeRight = 2,         //标题在右
    LCBRelayoutButtonTypeTop   = 3,         //标题在上
    LCBRelayoutButtonTypeBottom= 4,         //标题在下
    LCBRelayoutButtonTypeNo    = 5,         //无标题 图片填充
    LCBRelayoutButtonTypeYse   = 6,         //有标题 无图片
    LCBRelayoutButtonTypeNoFill= 7,         //无标题 图片不填充
};


@interface ICLcblayoutButton : UIButton

///图片大小
@property (assign,nonatomic)IBInspectable CGSize imageSize;
///图片相对于 top/right/left/bottom 的 offset
@property (assign,nonatomic)IBInspectable CGFloat offset;

///标题相对于 top/right/left/bottom 的 titleoffset
@property (assign,nonatomic)IBInspectable CGFloat titleoffset;

@property (assign,nonatomic)IBInspectable LCBRelayoutButtonType lcbType;


@end
